//
//  HMOauthViewController.swift
//  Weibo
//
//  Created by 京城 on 16/7/19.
//  Copyright © 2016年 itcast. All rights reserved.
//

import UIKit

class HMOauthViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

       self.navigationItem.leftBarButtonItem = UIBarButtonItem(title: "填充", style: UIBarButtonItemStyle.Plain, target: self, action: "fill")
        self.navigationItem.rightBarButtonItem = UIBarButtonItem(title: "取消", style: UIBarButtonItemStyle.Plain, target: self, action: "cancle")
        self.view.backgroundColor = UIColor.whiteColor()
        
    }
    
    func fill() {
        print("填充")
    }
 
    func cancle() {
        print("取消")
        self.dismissViewControllerAnimated(true, completion: nil)
        
    }
   
}
